package com.ruge.api.customer;

import com.ruge.api.customer.dto.response.CommonUserResDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * description: 内部接口 - 普通用户相关接口
 * create time at 2024/4/23 21:28
 *
 * @author alice.ruge
 * @since 0.0.3
 */

@FeignClient(contextId = "ruge-customer", value = "ruge-customer", path = "/customer/inner/common-user")
public interface CommonUserApi {

    @GetMapping("/{id}")
    CommonUserResDTO findById(@PathVariable("id") Long id);
}
